# -*- coding:utf-8 -*-

from rest_framework.viewsets import ModelViewSet
from Apps.System.filters.loginInfoFilter import SystemUserLoginInfoFilter
from Apps.System.models.loginLog import SystemUserLoginInfo
from Apps.System.ser.loginLogSer import LoginInfoSer
from Apps.common.response import SuccessResponse


class LoginInfoView(ModelViewSet):
    queryset = SystemUserLoginInfo.objects.all()
    serializer_class = LoginInfoSer
    filter_class = SystemUserLoginInfoFilter

